﻿using System.Data.Entity;
using Soleil.Domain.ebrary;

namespace Infrastructure.Data.EF.Core
{
    public class BookDbContext : DbContext
    {
        public BookDbContext() : base("DemoDB") { }

        public DbSet<Category> Categories { get; set; }

        public DbSet<Author> Authors { get; set; }

        public DbSet<Review> Reviews { get; set; }

        public DbSet<Book> Books { get; set; }

        public DbSet<CustomerReview> CustomerReviews { get; set; }
    }
}
